﻿#include "DelayedAction.h"

using namespace Server::MirEnvir;

namespace Server::MirObjects
{

    Server::MirEnvir::Envir *DelayedAction::getEnvir()
    {
        return Envir::getMain();
    }

    DelayedAction::DelayedAction(DelayedType type, long long time, std::vector<std::any> &p)
    {
        StartTime = getEnvir()->getTime();
        Type = type;
        Time = time;
        Params = p;
    }
}
